package nc.impl.gl;

import java.util.List;

import nc.bs.gl.bp.OacBp;
import nc.itf.gl.IOacServer;
import nc.vo.gl.oac.OacVO;
import nc.vo.pub.BusinessException;

public class OacServerImpl implements IOacServer{

	@Override
	public void record__RequiresNew(List<OacVO> record) throws BusinessException {
		new OacBp().execSingle(record);
	}

	@Override
	public void dbinsert__RequiresNew(List<OacVO> record)
			throws BusinessException {
		new OacBp().insertdb(record);
	}

	@Override
	public void dbupdate__RequiresNew(List<OacVO> record)
			throws BusinessException {
		new OacBp().updatedb(record);
	}

	@Override
	public void dbdelete__RequiresNew(String id) throws BusinessException {
		new OacBp().deletedb(id);
	}

}
